﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Mytrip.Theme
{
    public static class FormLayoutElements
    {
        public static string fieldset()
        {
            StringBuilder result = new StringBuilder();
            result.AppendLine("margin: 1em 0;");
            result.AppendLine("padding: 1em;");
            result.AppendLine("border: 1px solid #CCC;");
            return result.ToString();
        }
        public static string fieldset_p()
        {
            StringBuilder result = new StringBuilder();
            result.AppendLine("margin: 2px 12px 10px 10px;");
            return result.ToString();
        }
        public static string legend()
        {
            StringBuilder result = new StringBuilder();
            result.AppendLine("font-size: 1.1em;");
            result.AppendLine("font-weight: 600;");
            result.AppendLine("padding: 2px 4px 8px 4px;");
            return result.ToString();
        }
        public static string input_type_text()
        {
            StringBuilder result = new StringBuilder();
            result.AppendLine("width: 200px;");
            result.AppendLine("border: 1px solid #CCC;");
            return result.ToString();
        }
        public static string input_type_password()
        {
            StringBuilder result = new StringBuilder();
            result.AppendLine("width: 200px;");
            result.AppendLine("border: 1px solid #CCC;");
            return result.ToString();
        }
        public static string captcha()
        {
            StringBuilder result = new StringBuilder();
            result.AppendLine("border: 1px solid #CCC;");
            return result.ToString();
        }
    }
}
